package com.ntschy.bt.entity.dataobject;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 问卷答案对象 bt_question_answer
 *
 * @author
 * @date 2021-1-12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("bt_question_answer")
@ApiModel(description = "问卷答案实体类")
public class BtQuestionAnswer {

    // private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(type = IdType.UUID)
    @ApiModelProperty(value = "主键ID")
    private String id;

    /**
     * 问题选项id
     */
    @TableField("OptionID")
    @ApiModelProperty(value = "问题选项id")
    private String optionID;

    /**
     * 详情ID
     */
    @TableField("InfoID")
    @ApiModelProperty(value = "详情ID")
    private String infoId;

    /**
     * 问答 值
     */
    @TableField("Content")
    @ApiModelProperty(value = "问答 值")
    private String content;

    /**
     * 创建人ID
     */
    @TableField(fill = FieldFill.INSERT, value = "CreateUserId")
    @ApiModelProperty(value = "创建人ID")
    private String createUserId;

    /**
     * 创建人姓名
     */
    @TableField("CreateUserName")
    @ApiModelProperty(value = "创建人姓名")
    private String createUserName;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT, value = "CreateTime")
    @ApiModelProperty(value = "创建时间")
    private String createTime;

    /**
     * 问卷调查ID
     */
    @TableField("QuestionID")
    @ApiModelProperty(value = "问卷调查ID")
    private String questionId;


}
